package com.hetao.assist.service.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import com.hetao.assist.dubbo.api.DemoService;
import org.springframework.stereotype.Component;

@Service(timeout = 5000)
@Component
public class DefaultDemoService implements DemoService {

    @Override
    public String sayHello(String name) {
        return "say: hello";
    }
}
